home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / CodeWarrior Lite / Metrowerks C⁄C++ Lite / Headers / Project Stationery Support / <replace me XCMD>.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-04-20  |  305 b   |  19 lines  |  [TEXT/MMCC]

  1.  
  2. #include <HyperXCmd.h>
  3. #include <A4Stuff.h>
  4.  
  5. pascal void main( XCmdPtr    paramPtr )
  6. {
  7.     long    oldA4 = SetCurrentA4();    // A4 must be set up for globals, strings, and 
  8.                                     // inter-segment calls 
  9.     
  10.     
  11.     SysBeep ( 4 );        // <--- your code goes here
  12.     
  13.     
  14.     SetA4(oldA4);                    // reset A4 before leaving XCMD
  15. }
  16.  
  17.  
  18.  
  19.